projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
880ea92
)
(xrm_get_preference_database, Fmac_get_preference)
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Thu, 12 Apr 2007 08:11:16 +0000
(08:11 +0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Thu, 12 Apr 2007 08:11:16 +0000
(08:11 +0000)
[TARGET_API_MAC_CARBON]: Use CFPreferencesAppSynchronize.
src/mac.c
patch
|
blob
|
history
diff --git
a/src/mac.c
b/src/mac.c
index 5084a02b27dc82b92158e6add983968f71f33cff..8363326cc0528a473f6b9a0c3b486f503ba98d01 100644
(file)
--- a/
src/mac.c
+++ b/
src/mac.c
@@
-1835,6
+1835,8
@@
xrm_get_preference_database (application)
if (app_id == NULL)
goto out;
}
+ if (!CFPreferencesAppSynchronize (app_id))
+ goto out;
key_set = CFSetCreateMutable (NULL, 0, &kCFCopyStringSetCallBacks);
if (key_set == NULL)
@@
-4650,6
+4652,9
@@
otherwise. */)
if (app_id == NULL)
goto out;
}
+ if (!CFPreferencesAppSynchronize (app_id))
+ goto out;
+
key_str = cfstring_create_with_string (XCAR (key));
if (key_str == NULL)
goto out;